<?php 
/*
Engineer: Sean Margison
Updated: 12/04/2011
Description: Displays selected course's data.
*/
?>


<?php if($this->course):?>


	<h3>Course Details</h3>
		<dl>
	  	  	<dt>Course Name</dt>
				<dd><?php echo $this->course['COURSENAME'] ?></dd>
			<dt>Department</dt>
				<dd><?php echo $this->course['DEPARTMENT']?></dd>
			<dt>Course Number</dt>
				<dd><?php echo $this->course['COURSENUMBER']?></dd>
			<dt>Description</dt>
				<dd><?php echo $this->course['DESCRIPTION']?></dd>
			<dt>Syllabus</dt>
				<dd><a href="<?php echo $this->course['SYLLABUS']?>" target="_blank"><?php echo $this->course['SYLLABUS']?></a></dd>
			<dt>Term</dt>
				<dd><?php echo $this->course['TERM']?></dd>
		</dl>
<?php endif; ?>
<?php if(!$this->course):?>
	<h3>The course requested does not exist or you do not have permission to view the position.</h3>
<?php endif; ?>